package jgl.vajra.kingkong.part.mine.contract;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.kingkong.bean.MyTeamAllListBean;
import jgl.vajra.kingkong.databinding.FragmentMyTeamAllBinding;
import jgl.vajra.kingkong.widget.mvvm.model.BaseModel;
import jgl.vajra.kingkong.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.kingkong.widget.mvvm.viewmodel.BaseViewModel;

public class MyTeamAllListContract {
    public abstract static class Model extends BaseModel {

        public abstract Observable getMyTeamAllList(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {
        void returnMyTeamAllList(List<MyTeamAllListBean> data);

        void onJoinTime();

        void onJoinLocation();

        void onMechanicalEquipment();

        void onCumulativeReceipt();

        void onCumulativeOrders();

        void onCertification();
    }

    public abstract static class ViewModel extends BaseViewModel<View, FragmentMyTeamAllBinding, Model> {

        public abstract Observable getMyTeamAllList(Map<String, Object> map);
    }
}
